﻿using System;
using System.IO;

// Token: 0x020003C7 RID: 967
internal class ThumbsCacheData
{
	// Token: 0x0600181D RID: 6173 RVA: 0x0009D7A8 File Offset: 0x0009B9A8
	public ThumbsCacheData()
	{
		this.cardID = -1;
		this.data = null;
		this.time = 0L;
	}

	// Token: 0x0600181E RID: 6174 RVA: 0x0009D7C8 File Offset: 0x0009B9C8
	public ThumbsCacheData(int cardID, byte[] data, long time)
	{
		this.cardID = cardID;
		this.data = data;
		this.time = time;
	}

	// Token: 0x0600181F RID: 6175 RVA: 0x0009D7E8 File Offset: 0x0009B9E8
	public void Save(BinaryWriter writer)
	{
		writer.Write(this.cardID);
		writer.Write(this.data.Length);
		writer.Write(this.data);
		writer.Write(this.time);
	}

	// Token: 0x06001820 RID: 6176 RVA: 0x0009D81C File Offset: 0x0009BA1C
	public void Load(BinaryReader reader)
	{
		this.cardID = reader.ReadInt32();
		int count = reader.ReadInt32();
		this.data = reader.ReadBytes(count);
		this.time = reader.ReadInt64();
	}

	// Token: 0x04001B75 RID: 7029
	public int cardID;

	// Token: 0x04001B76 RID: 7030
	public byte[] data;

	// Token: 0x04001B77 RID: 7031
	public long time;
}
